package vn.vfriends.games.service;

import java.io.Serializable;
import java.util.List;
import vn.vfriends.games.jpa.entity.News;

/**
 *
 * @author tuan@vfriends.vn
 */
public interface NewsService extends Serializable {
    public void create(News news) throws Exception;

    public void edit(News news) throws Exception;

    public void destroy(Long id) throws Exception;

    public List<News> findNews();

    public News findNews(Long id);
    
    public int getNewsCount();
    
    public List<News> findDisplayNews();
}
